<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改</title>
</head>
<body>
<form action="{:url('Student/update')}" method="post">
 姓名：<input type="text" name="s_name" value="{$student.s_name}"/><br/>
 身份证号：<input type="text" name="s_card" value="{$student.s_card}" /><br/>
 出生日期：<input type="date" name="s_birthday" value="{$student.s_birthday}" /><br/>
 家庭地址：<input type="text" name="s_address" value="{$student.s_address}" /><br/>
 所属班级:
 <select name="s_class">
  {volist name="classList" id="cla"}
   	<option value='{$cla.mr_id}' 
   		{if condition='$student.s_class eq $cla.mr_id'}
   			selected='selected'
   		{/if}
   		>{$cla.mr_classname}</option>	
  {/volist}
 </select>
 <input type="hidden" name="s_id" value="{$student.s_id}"/>
 <input type="submit" value="提交" name="sub" />	
</form>
</body>
</html>